package com.example.eventbus.listener;

import com.example.eventbus.command.MyCommand;
import com.google.common.eventbus.Subscribe;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author 谢汉冰
 * @Title: MyEventListener
 * @Package com.example.eventbus.listener
 * @date 2023/10/23 16:03
 * @description:
 */
// @Component
// @Slf4j
// public class MyEventListener {
// 	@Subscribe
// 	public void onMessageEvent(MyCommand command) {
// 		log.info("sync onMessageEvent {}", command);
// 	}
// }
